{% extends 'base.html.twig' %}
{% block body_bar %}
    <h5>{{ dry_translation('show') }}</h5>
    <div class="ibox-tools">
        <a class="btn btn-outline btn-info" href="{{ dry_path("setting_new") }}" data-route="setting_new">{{ dry_translation('new') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("setting_edit", setting.id) }}" data-route="setting_edit">{{ dry_translation('edit') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("setting_index") }}" data-route="setting_index">{{ dry_translation('list') }}</a>
    </div>
{% endblock %}
{% block body %}
    <table class="table">
        <tbody>
            <tr>
                <th style="border-top:none;">{{ dry_translation('Setting.id') }}</th>
                <td style="border-top:none;">{{ setting.id }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Setting.dryGroup') }}</th>
                <td>{{ dryGroupArray[setting.dryGroup] }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Setting.dryName') }}</th>
                <td>{{ setting.dryName }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Setting.dryValue') }}</th>
                <td>{{ setting.dryValue }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Setting.drySort') }}</th>
                <td>{{ setting.drySort }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Setting.dryAddtime') }}</th>
                <td>{{ setting.dryAddtimeString }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Setting.dryNote') }}</th>
                <td>{{ setting.dryNote }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Setting.dryUseDetail') }}</th>
                <td>{{ dryUseDetailArray[setting.dryUseDetail] }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Setting.dryIsJsonString') }}</th>
                <td>{{ dryIsJsonStringArray[setting.dryIsJsonString] }}</td>
            </tr>
        </tbody>
    </table>
{% endblock %}
